package com.ly.pojo.query;

import lombok.Data;
import com.ly.pojo.dto.DeleteGroup;
import jakarta.validation.constraints.NotNull;
import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 新闻资讯查询条件封装
 *
 * @author Administrator
 * @date 2025-03-07 10:51:13
 */
@Data
public class NewsQuery {

    /**
     * 新闻ID
     */
    @NotNull(groups = { DeleteGroup.class }, message = "新闻ID不能为空")
    @Schema(description = "新闻ID")
    private Integer newsId;
}
